  class Yuan extends Tijimianji{
    private double radius;

    public Yuan(double radius) {
        this.radius = radius;
    }
    @Override
     public double mianji() {
         return  Math.PI * radius * radius;
     }
     @Override
    public double zhouchang() {
        return 2 * Math.PI * radius;
    }

}
